Skip to content

Add repo-root input to e2e-failure-analyzer action#13671

Merged
jonvanausdeln merged 1 commit into
mainfrom
jonv/e2e-analyzer-repo-root-input
May 20, 2026
Merged

Add repo-root input to e2e-failure-analyzer action#13671
jonvanausdeln merged 1 commit into
mainfrom
jonv/e2e-analyzer-repo-root-input

Conversation

@jonvanausdeln
Copy link
Copy Markdown
Contributor

@jonvanausdeln jonvanausdeln commented May 20, 2026

This is needed to get e2e-failuer-analyzer to find the right repo-root when running from positron-builds

Summary

  • Adds a repo-root input to .github/actions/e2e-failure-analyzer/action.yml and binds it to the analyze step's REPO_ROOT env var.
  • Default is ${{ github.workspace }}, preserving Path A behavior on this repo.
  • Lets posit-dev/positron-builds pass ${{ github.workspace }}/positron so the analyzer reads test source from the submodule path (where test/e2e/ actually lives in that workflow).

Companion to posit-dev/positron-builds#13627. analyze.mjs already reads REPO_ROOT from env with an empty-string fallback, so no script changes are needed.

positron-builds checks out the positron repo as a submodule, so test/e2e
source lives at $GITHUB_WORKSPACE/positron, not $GITHUB_WORKSPACE. Make
the path configurable so positron-builds can point the analyzer at the
right tree; default preserves Path A behavior on positron.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

@github-actions
Copy link
Copy Markdown

PETE's assessment 🧪

Verdict: Not applicable -- All changed files are docs, config, or lockfiles -- no source behavior to test.

What changed

1 file(s), categorized as: config-repo (1).


PETE (Positron Extreme Test Experiment): an LLM-based test-coverage advisor, currently in pilot. Pre-filter short-circuited the LLM check on this PR. Run /recheck-tests if this is wrong.

@jonvanausdeln jonvanausdeln requested a review from testlabauto May 20, 2026 21:52
Copy link
Copy Markdown
Contributor

@testlabauto testlabauto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jonvanausdeln jonvanausdeln merged commit 15f351c into main May 20, 2026
27 checks passed
@jonvanausdeln jonvanausdeln deleted the jonv/e2e-analyzer-repo-root-input branch May 20, 2026 23:05
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants